diff --git a/drivers/media/video/sunxi/sunxi_cedar.c b/drivers/media/video/sunxi/sunxi_cedar.c
index f30d086..3c6969e 100644
--- a/drivers/media/video/sunxi/sunxi_cedar.c
+++ b/drivers/media/video/sunxi/sunxi_cedar.c
@@ -765,23 +765,6 @@ long cedardev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 		cedar_devp->ref_count = (int)arg;
 		break;
 
-	case IOCTL_READ_REG:
-	{
-		struct cedarv_regop reg_para;
-		if(copy_from_user(&reg_para, (void __user*)arg, sizeof(struct cedarv_regop)))
-			return -EFAULT;
-		return readl(reg_para.addr);
-	}
-
-	case IOCTL_WRITE_REG:
-	{
-		struct cedarv_regop reg_para;
-		if(copy_from_user(&reg_para, (void __user*)arg, sizeof(struct cedarv_regop)))
-			return -EFAULT;
-		writel(reg_para.value, reg_para.addr);
-		break;
-	}
-
         default:
         break;
     }
